package day08;

public class Dog extends Ainimal {
	protected String shengyin;

	public Dog() {
	}

	public Dog(String shengyin) {
		super();
		this.shengyin = shengyin;
	}

	public String getShengyin() {
		return shengyin;
	}

	public void setShengyin(String shengyin) {
		this.shengyin = shengyin;
	}
	
	public void eat() {
		System.out.println("小狗喜欢吃骨头");
	}
	
	public void Bits() {
		System.out.println("小狗见了陌生人，要咬人");
	}

	
}
